<?php

/*
 * This file is part of the Geek-Zoo Projects.
 *
 * @copyright (c) 2010 Geek-Zoo Projects More info http://www.geek-zoo.com
 * @license http://opensource.org/licenses/gpl-2.0.php The GNU General Public License
 * @author xuanyan <xuanyan@geek-zoo.com>
 *
 */

require_once ROOT_PATH.'/Abstract/base_abstract.php';

class Action extends base_abstract
{
    function index()
    {
        $url = _GET('url');
        $return = $this->api->getAuthorizeURL(SITE_URL.'/'.$url);
        $this->redirect($return);
    }
}


?>